package com.bootdo.wx.service;

import com.bootdo.common.utils.R;
import com.bootdo.wx.domain.OrderBargainDO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 砍价订单
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-07-03 11:05:58
 */
public interface OrderBargainService {
	
	OrderBargainDO get(String id);
	
	List<OrderBargainDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderBargainDO orderBargain);
	
	int update(OrderBargainDO orderBargain);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	PageInfo<Map<String,Object>> getOrderBargainList(Map<String,Object> paramMap);

	Map<String,Object> getOrderBargainById(Map<String,Object> paramMap);

	R helpBargain(Map<String,Object> paramMap);
}
